package com.woniuxy.carlife.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author fx
 * @ClassName:UserLikeServiceParam
 * @Description: 用户对服务点赞的参数类
 * @date 2021/4/14 19:41
 **/

@Data
@ApiModel(value = "用户对服务点赞的参数类")
public class UserLikeServiceParam {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "点赞用户表")
    private Integer userId;

    @NotNull(message = "服务id不能为空")
    @ApiModelProperty(value = "点赞的服务id")
    private Integer serviceId;
}
